#pragma once

#include <windows.h>
#include <istream>

class StreamReader
{
private:
	std::istream *bs;

public:
	StreamReader(std::istream *bs);
	~StreamReader(void);

	BYTE ReadByte();
	char ReadChar();
	int ReadInt();
	float ReadFloat();
	DWORD ReadDword();
	BYTE *ReadBuffer(int size);
};
